using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace G2007.CodeGen
{
	public partial class ReengineerDatabase : Form
	{
		public ReengineerDatabase ()
		{
			InitializeComponent ();
		}

		private void onRegEngineer ( object sender , EventArgs e )
		{
			Library.DBConvertor.DBToScript.CreateFile (
			txtScriptFile.Text , txtConnectionString.Text , txtProjectName.Text , txtPrefix.Text , txtOutputFolder.Text );
			
			MessageBox.Show ( "Completed" );
		}
	}
}